package com.woniu.outlet.po;

import java.util.ArrayList;
import java.util.List;

public class ProjectPoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProjectPoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeIsNull() {
            addCriterion("project_cocde is null");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeIsNotNull() {
            addCriterion("project_cocde is not null");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeEqualTo(String value) {
            addCriterion("project_cocde =", value, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeNotEqualTo(String value) {
            addCriterion("project_cocde <>", value, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeGreaterThan(String value) {
            addCriterion("project_cocde >", value, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeGreaterThanOrEqualTo(String value) {
            addCriterion("project_cocde >=", value, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeLessThan(String value) {
            addCriterion("project_cocde <", value, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeLessThanOrEqualTo(String value) {
            addCriterion("project_cocde <=", value, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeLike(String value) {
            addCriterion("project_cocde like", value, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeNotLike(String value) {
            addCriterion("project_cocde not like", value, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeIn(List<String> values) {
            addCriterion("project_cocde in", values, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeNotIn(List<String> values) {
            addCriterion("project_cocde not in", values, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeBetween(String value1, String value2) {
            addCriterion("project_cocde between", value1, value2, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andProjectCocdeNotBetween(String value1, String value2) {
            addCriterion("project_cocde not between", value1, value2, "projectCocde");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIsNull() {
            addCriterion("specification_model is null");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIsNotNull() {
            addCriterion("specification_model is not null");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelEqualTo(String value) {
            addCriterion("specification_model =", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotEqualTo(String value) {
            addCriterion("specification_model <>", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelGreaterThan(String value) {
            addCriterion("specification_model >", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelGreaterThanOrEqualTo(String value) {
            addCriterion("specification_model >=", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLessThan(String value) {
            addCriterion("specification_model <", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLessThanOrEqualTo(String value) {
            addCriterion("specification_model <=", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelLike(String value) {
            addCriterion("specification_model like", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotLike(String value) {
            addCriterion("specification_model not like", value, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelIn(List<String> values) {
            addCriterion("specification_model in", values, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotIn(List<String> values) {
            addCriterion("specification_model not in", values, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelBetween(String value1, String value2) {
            addCriterion("specification_model between", value1, value2, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationModelNotBetween(String value1, String value2) {
            addCriterion("specification_model not between", value1, value2, "specificationModel");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIsNull() {
            addCriterion("specification_unit is null");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIsNotNull() {
            addCriterion("specification_unit is not null");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitEqualTo(String value) {
            addCriterion("specification_unit =", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotEqualTo(String value) {
            addCriterion("specification_unit <>", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitGreaterThan(String value) {
            addCriterion("specification_unit >", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitGreaterThanOrEqualTo(String value) {
            addCriterion("specification_unit >=", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLessThan(String value) {
            addCriterion("specification_unit <", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLessThanOrEqualTo(String value) {
            addCriterion("specification_unit <=", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitLike(String value) {
            addCriterion("specification_unit like", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotLike(String value) {
            addCriterion("specification_unit not like", value, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitIn(List<String> values) {
            addCriterion("specification_unit in", values, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotIn(List<String> values) {
            addCriterion("specification_unit not in", values, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitBetween(String value1, String value2) {
            addCriterion("specification_unit between", value1, value2, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andSpecificationUnitNotBetween(String value1, String value2) {
            addCriterion("specification_unit not between", value1, value2, "specificationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitIsNull() {
            addCriterion("valuation_unit is null");
            return (Criteria) this;
        }

        public Criteria andValuationUnitIsNotNull() {
            addCriterion("valuation_unit is not null");
            return (Criteria) this;
        }

        public Criteria andValuationUnitEqualTo(String value) {
            addCriterion("valuation_unit =", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitNotEqualTo(String value) {
            addCriterion("valuation_unit <>", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitGreaterThan(String value) {
            addCriterion("valuation_unit >", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitGreaterThanOrEqualTo(String value) {
            addCriterion("valuation_unit >=", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitLessThan(String value) {
            addCriterion("valuation_unit <", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitLessThanOrEqualTo(String value) {
            addCriterion("valuation_unit <=", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitLike(String value) {
            addCriterion("valuation_unit like", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitNotLike(String value) {
            addCriterion("valuation_unit not like", value, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitIn(List<String> values) {
            addCriterion("valuation_unit in", values, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitNotIn(List<String> values) {
            addCriterion("valuation_unit not in", values, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitBetween(String value1, String value2) {
            addCriterion("valuation_unit between", value1, value2, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andValuationUnitNotBetween(String value1, String value2) {
            addCriterion("valuation_unit not between", value1, value2, "valuationUnit");
            return (Criteria) this;
        }

        public Criteria andSalepriceIsNull() {
            addCriterion("saleprice is null");
            return (Criteria) this;
        }

        public Criteria andSalepriceIsNotNull() {
            addCriterion("saleprice is not null");
            return (Criteria) this;
        }

        public Criteria andSalepriceEqualTo(Double value) {
            addCriterion("saleprice =", value, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceNotEqualTo(Double value) {
            addCriterion("saleprice <>", value, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceGreaterThan(Double value) {
            addCriterion("saleprice >", value, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceGreaterThanOrEqualTo(Double value) {
            addCriterion("saleprice >=", value, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceLessThan(Double value) {
            addCriterion("saleprice <", value, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceLessThanOrEqualTo(Double value) {
            addCriterion("saleprice <=", value, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceIn(List<Double> values) {
            addCriterion("saleprice in", values, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceNotIn(List<Double> values) {
            addCriterion("saleprice not in", values, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceBetween(Double value1, Double value2) {
            addCriterion("saleprice between", value1, value2, "saleprice");
            return (Criteria) this;
        }

        public Criteria andSalepriceNotBetween(Double value1, Double value2) {
            addCriterion("saleprice not between", value1, value2, "saleprice");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIsNull() {
            addCriterion("theoretical_weight is null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIsNotNull() {
            addCriterion("theoretical_weight is not null");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightEqualTo(Double value) {
            addCriterion("theoretical_weight =", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotEqualTo(Double value) {
            addCriterion("theoretical_weight <>", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightGreaterThan(Double value) {
            addCriterion("theoretical_weight >", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("theoretical_weight >=", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightLessThan(Double value) {
            addCriterion("theoretical_weight <", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightLessThanOrEqualTo(Double value) {
            addCriterion("theoretical_weight <=", value, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightIn(List<Double> values) {
            addCriterion("theoretical_weight in", values, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotIn(List<Double> values) {
            addCriterion("theoretical_weight not in", values, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightBetween(Double value1, Double value2) {
            addCriterion("theoretical_weight between", value1, value2, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTheoreticalWeightNotBetween(Double value1, Double value2) {
            addCriterion("theoretical_weight not between", value1, value2, "theoreticalWeight");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialIsNull() {
            addCriterion("texture_of_material is null");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialIsNotNull() {
            addCriterion("texture_of_material is not null");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialEqualTo(String value) {
            addCriterion("texture_of_material =", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialNotEqualTo(String value) {
            addCriterion("texture_of_material <>", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialGreaterThan(String value) {
            addCriterion("texture_of_material >", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialGreaterThanOrEqualTo(String value) {
            addCriterion("texture_of_material >=", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialLessThan(String value) {
            addCriterion("texture_of_material <", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialLessThanOrEqualTo(String value) {
            addCriterion("texture_of_material <=", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialLike(String value) {
            addCriterion("texture_of_material like", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialNotLike(String value) {
            addCriterion("texture_of_material not like", value, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialIn(List<String> values) {
            addCriterion("texture_of_material in", values, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialNotIn(List<String> values) {
            addCriterion("texture_of_material not in", values, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialBetween(String value1, String value2) {
            addCriterion("texture_of_material between", value1, value2, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andTextureOfMaterialNotBetween(String value1, String value2) {
            addCriterion("texture_of_material not between", value1, value2, "textureOfMaterial");
            return (Criteria) this;
        }

        public Criteria andColorIsNull() {
            addCriterion("color is null");
            return (Criteria) this;
        }

        public Criteria andColorIsNotNull() {
            addCriterion("color is not null");
            return (Criteria) this;
        }

        public Criteria andColorEqualTo(String value) {
            addCriterion("color =", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotEqualTo(String value) {
            addCriterion("color <>", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThan(String value) {
            addCriterion("color >", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorGreaterThanOrEqualTo(String value) {
            addCriterion("color >=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThan(String value) {
            addCriterion("color <", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLessThanOrEqualTo(String value) {
            addCriterion("color <=", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorLike(String value) {
            addCriterion("color like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotLike(String value) {
            addCriterion("color not like", value, "color");
            return (Criteria) this;
        }

        public Criteria andColorIn(List<String> values) {
            addCriterion("color in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotIn(List<String> values) {
            addCriterion("color not in", values, "color");
            return (Criteria) this;
        }

        public Criteria andColorBetween(String value1, String value2) {
            addCriterion("color between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andColorNotBetween(String value1, String value2) {
            addCriterion("color not between", value1, value2, "color");
            return (Criteria) this;
        }

        public Criteria andSizeIsNull() {
            addCriterion("size is null");
            return (Criteria) this;
        }

        public Criteria andSizeIsNotNull() {
            addCriterion("size is not null");
            return (Criteria) this;
        }

        public Criteria andSizeEqualTo(String value) {
            addCriterion("size =", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotEqualTo(String value) {
            addCriterion("size <>", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeGreaterThan(String value) {
            addCriterion("size >", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeGreaterThanOrEqualTo(String value) {
            addCriterion("size >=", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeLessThan(String value) {
            addCriterion("size <", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeLessThanOrEqualTo(String value) {
            addCriterion("size <=", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeLike(String value) {
            addCriterion("size like", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotLike(String value) {
            addCriterion("size not like", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeIn(List<String> values) {
            addCriterion("size in", values, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotIn(List<String> values) {
            addCriterion("size not in", values, "size");
            return (Criteria) this;
        }

        public Criteria andSizeBetween(String value1, String value2) {
            addCriterion("size between", value1, value2, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotBetween(String value1, String value2) {
            addCriterion("size not between", value1, value2, "size");
            return (Criteria) this;
        }

        public Criteria andEnableStatusIsNull() {
            addCriterion("enable_status is null");
            return (Criteria) this;
        }

        public Criteria andEnableStatusIsNotNull() {
            addCriterion("enable_status is not null");
            return (Criteria) this;
        }

        public Criteria andEnableStatusEqualTo(String value) {
            addCriterion("enable_status =", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusNotEqualTo(String value) {
            addCriterion("enable_status <>", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusGreaterThan(String value) {
            addCriterion("enable_status >", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusGreaterThanOrEqualTo(String value) {
            addCriterion("enable_status >=", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusLessThan(String value) {
            addCriterion("enable_status <", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusLessThanOrEqualTo(String value) {
            addCriterion("enable_status <=", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusLike(String value) {
            addCriterion("enable_status like", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusNotLike(String value) {
            addCriterion("enable_status not like", value, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusIn(List<String> values) {
            addCriterion("enable_status in", values, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusNotIn(List<String> values) {
            addCriterion("enable_status not in", values, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusBetween(String value1, String value2) {
            addCriterion("enable_status between", value1, value2, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andEnableStatusNotBetween(String value1, String value2) {
            addCriterion("enable_status not between", value1, value2, "enableStatus");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNull() {
            addCriterion("spare1 is null");
            return (Criteria) this;
        }

        public Criteria andSpare1IsNotNull() {
            addCriterion("spare1 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare1EqualTo(String value) {
            addCriterion("spare1 =", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotEqualTo(String value) {
            addCriterion("spare1 <>", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThan(String value) {
            addCriterion("spare1 >", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1GreaterThanOrEqualTo(String value) {
            addCriterion("spare1 >=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThan(String value) {
            addCriterion("spare1 <", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1LessThanOrEqualTo(String value) {
            addCriterion("spare1 <=", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Like(String value) {
            addCriterion("spare1 like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotLike(String value) {
            addCriterion("spare1 not like", value, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1In(List<String> values) {
            addCriterion("spare1 in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotIn(List<String> values) {
            addCriterion("spare1 not in", values, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1Between(String value1, String value2) {
            addCriterion("spare1 between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare1NotBetween(String value1, String value2) {
            addCriterion("spare1 not between", value1, value2, "spare1");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNull() {
            addCriterion("spare2 is null");
            return (Criteria) this;
        }

        public Criteria andSpare2IsNotNull() {
            addCriterion("spare2 is not null");
            return (Criteria) this;
        }

        public Criteria andSpare2EqualTo(String value) {
            addCriterion("spare2 =", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotEqualTo(String value) {
            addCriterion("spare2 <>", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThan(String value) {
            addCriterion("spare2 >", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2GreaterThanOrEqualTo(String value) {
            addCriterion("spare2 >=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThan(String value) {
            addCriterion("spare2 <", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2LessThanOrEqualTo(String value) {
            addCriterion("spare2 <=", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Like(String value) {
            addCriterion("spare2 like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotLike(String value) {
            addCriterion("spare2 not like", value, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2In(List<String> values) {
            addCriterion("spare2 in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotIn(List<String> values) {
            addCriterion("spare2 not in", values, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2Between(String value1, String value2) {
            addCriterion("spare2 between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpare2NotBetween(String value1, String value2) {
            addCriterion("spare2 not between", value1, value2, "spare2");
            return (Criteria) this;
        }

        public Criteria andSpqre3IsNull() {
            addCriterion("spqre3 is null");
            return (Criteria) this;
        }

        public Criteria andSpqre3IsNotNull() {
            addCriterion("spqre3 is not null");
            return (Criteria) this;
        }

        public Criteria andSpqre3EqualTo(String value) {
            addCriterion("spqre3 =", value, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3NotEqualTo(String value) {
            addCriterion("spqre3 <>", value, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3GreaterThan(String value) {
            addCriterion("spqre3 >", value, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3GreaterThanOrEqualTo(String value) {
            addCriterion("spqre3 >=", value, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3LessThan(String value) {
            addCriterion("spqre3 <", value, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3LessThanOrEqualTo(String value) {
            addCriterion("spqre3 <=", value, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3Like(String value) {
            addCriterion("spqre3 like", value, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3NotLike(String value) {
            addCriterion("spqre3 not like", value, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3In(List<String> values) {
            addCriterion("spqre3 in", values, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3NotIn(List<String> values) {
            addCriterion("spqre3 not in", values, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3Between(String value1, String value2) {
            addCriterion("spqre3 between", value1, value2, "spqre3");
            return (Criteria) this;
        }

        public Criteria andSpqre3NotBetween(String value1, String value2) {
            addCriterion("spqre3 not between", value1, value2, "spqre3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}